home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{85A31727-F64B-11D2-886C-B123251DAC7D}#36.0#0"; "NPPalPager.ocx"
- Begin VB.Form Form1
- Caption = "Form1"
- ClientHeight = 4515
- ClientLeft = 60
- ClientTop = 345
- ClientWidth = 7005
- LinkTopic = "Form1"
- PaletteMode = 1 'UseZOrder
- ScaleHeight = 4515
- ScaleWidth = 7005
- StartUpPosition = 3 'Windows Default
- Begin PalPager.NPPalPager NPPalPager1
- Align = 3 'Align Left
- Height = 4515
- Left = 0
- TabIndex = 0
- Top = 0
- Width = 765
- _ExtentX = 1349
- _ExtentY = 7964
- Orientation = 1
- Valeur_RGB(0) = ""
- Valeur_HEXA(0) = ""
- Border_Style = 3
- MaxSelected = 0
- Color_Selected(0)= 0
- End
- Begin VB.CommandButton Command1
- Caption = "Save picture palette"
- Height = 495
- Index = 1
- Left = 3960
- TabIndex = 3
- Top = 3960
- Width = 2895
- End
- Begin VB.CommandButton Command1
- Caption = "Get picture palette"
- Height = 495
- Index = 0
- Left = 840
- TabIndex = 2
- Top = 3960
- Width = 2895
- End
- Begin VB.PictureBox Picture1
- AutoSize = -1 'True
- Height = 3795
- Left = 840
- Picture = "Test Palette.frx":0000
- ScaleHeight = 3735
- ScaleWidth = 6015
- TabIndex = 1
- Top = 0
- Width = 6075
- End
- Attribute VB_Name = "Form1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Command1_Click(Index As Integer)
- Select Case Index
- Case 0
- NPPalPager1.GetPalPicture Picture1.Picture.hPal
- Case 1
- NPPalPager1.SavePalette App.Path & "\PalPicture.pal", PalWin, Picture1.Picture.hPal
- End Select
- End Sub
- Private Sub Picture1_Click()
- Me.Caption = App.Path
- End Sub
-